//
//  UIWindow+ZBHierarchy.h
//  PaoPao
//
//  Created by xzb on 2018/4/3.
//  Copyright © 2018年 paopao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIWindow (ZBHierarchy)
/*!
 @method topMostController
 
 @return Returns the current Top Most ViewController in hierarchy.
 */
- (UIViewController*)zb_topMostController;

/*!
 @method currentViewController
 
 @return Returns the topViewController in stack of topMostController.
 */
- (UIViewController*)zb_currentViewController;
@end
